package com.ruoyi.approval.domain;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批管理对象 examine_and_approve
 * 
 * @author ruoyis
 * @date 2023-03-13
 */
public class ExamineAndApprove extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer serialNumber;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date newtime;

    /** 申请人 */
    private Integer empId;

    /** 申请人名称 */
    @Excel(name = "申请人")
    private String empName;

    /** (删除)状态:默认0(0:存在,1:删除) */
    private Integer version;

    /** (审批)状态:[0:已通过,1,正在审批,2,未通过,] */
    @Excel(name = "(审批)状态:[0:已通过,1,正在审批,2,未通过,]")
    private Integer state;

    /** 申请类别 */
    @Excel(name = "申请类别")
    private String applyforType;

    /** 审批内容 */
    @Excel(name = "审批内容")
    private String content;

    /** 签字 */
    @Excel(name = "签字")
    private String signature;

    /** 签字 */
    @Excel(name = "备注")
    private String remark;

    /** 修改时间 */
    private Date updatetime;

    public void setSerialNumber(Integer serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Integer getSerialNumber() 
    {
        return serialNumber;
    }
    public void setNewtime(Date newtime) 
    {
        this.newtime = newtime;
    }

    public Date getNewtime() 
    {
        return newtime;
    }
    public void setEmpId(Integer empId)
    {
        this.empId = empId;
    }

    public Integer getEmpId()
    {
        return empId;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setApplyforType(String applyforType) 
    {
        this.applyforType = applyforType;
    }

    public String getApplyforType() 
    {
        return applyforType;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setSignature(String signature) 
    {
        this.signature = signature;
    }

    public String getSignature() 
    {
        return signature;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serialNumber", getSerialNumber())
            .append("newtime", getNewtime())
            .append("empId", getEmpId())
            .append("version", getVersion())
            .append("state", getState())
            .append("applyforType", getApplyforType())
            .append("content", getContent())
            .append("signature", getSignature())
            .append("empName", getEmpName())
            .append("remark", getRemark())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
